package com.joymeter.data.controller;


 import com.joymeter.data.service.DeviceInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@CrossOrigin("*")
@Controller
@RequestMapping("canal")
public class CanalController {
	@Autowired
	private DeviceInfoService deviceInfo;



 	@RequestMapping(value="/getAll",method=RequestMethod.GET)
	@ResponseBody
  	public void getAll () {
		deviceInfo.selectDeviceInfoById("");
    }
	


}
